﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace t_205_verk_hopur_12.Models
{
    public class ChannelElectionViewModel
    {
        public Channel Channel { get; set; }
        public IEnumerable<VideoElection> Elections { get; set; }
        public IEnumerable<Video> Videos { get; set; }

        public ChannelElectionViewModel()
        {
            // Intentionally empty
        }

        public ChannelElectionViewModel(Channel ch, 
                                        IEnumerable<VideoElection> election, 
                                        IEnumerable<Video> vid)
        {
            Channel = ch;
            Elections = election;
            Videos = vid;
        }
    }
}
